home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
TECHNICA
/
COMPUTER
/
H254.ZIP
/
IRITSM3S.ZIP
/
MAKEFILE.TC
< prev
next >
Wrap
Text File
|
1992-03-01
|
4KB
|
148 lines
#
# This make file is the main make file of the IRIT solid modeller and its
# auxilary tools.
#
# Do the following before run make:
#
# 1. Edit 'makeflag.dos' for the exact path names to ne used for libraries and
# binaries. Also set the C compiler and linker flags.
# 2. Make sure lib_gifl.lib for MSDOS from the lib subdirectory is in the same
# place as LIB_DIR as set in dirs.dos and that lib_gif.h from the inc
# subdirectory is in the same place as INC_DIR as set in dirs.dos. This
# library is provided compiled in large model only. See documentation
# on how to get its sources.
#
# Only large model is created here.
#
# Gershon Elber, Nov. 1991
#
# Works only on TC++ 1.0 make and up - swap out make before invoking command.
.SWAP
# Includes generic definitions.
!include "makeflag.dos"
all: cagd_lib misc_lib irit poly3d poly3d-h poly3d-r iritfltr docs
type &&!
Before executing the test suite and/or any usage of this package
you will have to issue the following command:
set path = %path%;$(BIN_DIR)
or similar.
!
#
# Uncommend the following variable to only see the actions taken.
#
# VIEW_ONLY = -n
poly3d:
cd poly3d
-make $(VIEW_ONLY) -fmakefile.tc install
cd ..
poly3d-h:
cd poly3d-h
-make $(VIEW_ONLY) -fmakefile.tc install
cd ..
poly3d-r:
cd poly3d-r
-make $(VIEW_ONLY) -fmakefile.tc install
cd ..
misc_lib:
cd misc_lib
-make $(VIEW_ONLY) -fmakefile.tc install
cd ..
cagd_lib:
cd cagd_lib
-make $(VIEW_ONLY) -fmakefile.tc install
cd ..
irit:
cd irit
-make $(VIEW_ONLY) -fmakefile.tc install
cd ..\docs
-make $(VIEW_ONLY) -fmakefile.tc install
cd ..
iritfltr:
cd iritfltr
-make $(VIEW_ONLY) -fmakefile.tc install
cd ..
clean:
-rm poly3d\*.map poly3d\*.bak poly3d\*.old poly3d\*.gif poly3d\*.ps poly3d\*.sym
-rm poly3d\*.map poly3d-h\*.bak poly3d-h\*.old poly3d-h\*.hdn poly3d-h\*.sym
-rm poly3d\*.map poly3d-r\*.bak poly3d-r\*.old poly3d-r\*.gif poly3d-r\*.sym
-rm iritfltr\*.map iritfltr\*.bak iritfltr\*.old iritfltr\*.sym
-rm cagd_lib\*.map cagd_lib\*.bak cagd_lib\*.sym
-rm misc_lib\*.map misc_lib\*.bak misc_lib\*.sym
-rm irit\*.map irit\*.bak irit\*.old irit\*.sym irit\*.dat
-rm docs\irithlp.exe
cleanobj:
-rm poly3d\*.obj poly3d-h\*.obj poly3d-r\*.obj irit\*.obj \
iritfltr\*.obj cagd_lib\*.obj misc_lib\*.obj docs\*.obj
-rm docs\irithlp.exe
#
# Make hardcopy documentation.
#
docs:
cd docs
-make $(VIEW_ONLY) -f makefile.tc irit.tex irit.doc
cd ..
#
# Test some of the above programs. Make sure $(BIN_DIR) is in your path
#
test:
cd irit
-irit demo
cd ..\poly3d
-test
cd ..\poly3d-h
-test
cd ..\poly3d-r
-test
cd ..
#
# Generate dependencies for the source tree.
#
depend:
cd irit
-makedpnd -u -m makefile.unx *.c
-makedpnd -m makefile.tc *.c
cd ..\poly3d
-makedpnd -u -m makefile.unx *.c
-makedpnd -m makefile.tc *.c
cd ..\poly3d-h
-makedpnd -u -m makefile.unx *.c
-makedpnd -u -m makefile.djg *.c
-makedpnd -m makefile.tc *.c
cd ..\poly3d-r
-makedpnd -u -m makefile.unx *.c
-makedpnd -u -m makefile.djg *.c
-makedpnd -m makefile.tc *.c
cd ..\iritfltr
-makedpnd -u -m makefile.unx *.c
-makedpnd -u -m makefile.djg *.c
-makedpnd -m makefile.tc *.c
cd ..\cagd_lib
-makedpnd -u -m makefile.unx *.c
-makedpnd -u -m makefile.djg *.c
-makedpnd -m makefile.tc *.c
cd ..\misc_lib
-makedpnd -u -m makefile.unx *.c
-makedpnd -u -m makefile.djg *.c
-makedpnd -m makefile.tc *.c
cd ..